package com.blank.black.entity.pojo;


import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * example关联关系配置表
 * </p>
 *
 * @author htr
 * @since 2024-02-23
 */
public class ConfigJoinRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    private Long id;

    /**
     * 关联Id
     */
    private Long joinId;

    /**
     * 关联条件分隔符：1:and,2:or
     */
    private Integer logic;

    /**
     * 表名
     */
    private String tableName;

    /**
     * 关联表名
     */
    private String relationTableName;

    /**
     * 列名
     */
    private String property;

    /**
     * 关联列名
     */
    private String relationProperty;

    /**
     * 表别名
     */
    private String tableAlias;

    /**
     * 关联表别名
     */
    private String relationTableAlias;

    /**
     * 启用标志：1在用0已弃用
     */
    private Integer enableFlag;

    /**
     * 修改人
     */
    private String updateUser;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 创建人
     */
    private String createUser;

    /**
     * 创建时间
     */
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getJoinId() {
        return joinId;
    }

    public void setJoinId(Long joinId) {
        this.joinId = joinId;
    }

    public Integer getLogic() {
        return logic;
    }

    public void setLogic(Integer logic) {
        this.logic = logic;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getRelationTableName() {
        return relationTableName;
    }

    public void setRelationTableName(String relationTableName) {
        this.relationTableName = relationTableName;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public String getRelationProperty() {
        return relationProperty;
    }

    public void setRelationProperty(String relationProperty) {
        this.relationProperty = relationProperty;
    }

    public Integer getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(Integer enableFlag) {
        this.enableFlag = enableFlag;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getTableAlias() {
        return tableAlias;
    }

    public void setTableAlias(String tableAlias) {
        this.tableAlias = tableAlias;
    }

    public String getRelationTableAlias() {
        return relationTableAlias;
    }

    public void setRelationTableAlias(String relationTableAlias) {
        this.relationTableAlias = relationTableAlias;
    }
}
